package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.BankerOrder;
import com.ytjj.qmyx.mall.model.BankerOrderExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BankerOrderMapper {
    long countByExample(BankerOrderExample example);

    int deleteByExample(BankerOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BankerOrder record);

    int insertSelective(BankerOrder record);

    List<BankerOrder> selectByExampleWithBLOBs(BankerOrderExample example);

    List<BankerOrder> selectByExample(BankerOrderExample example);

    BankerOrder selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BankerOrder record, @Param("example") BankerOrderExample example);

    int updateByExampleWithBLOBs(@Param("record") BankerOrder record, @Param("example") BankerOrderExample example);

    int updateByExample(@Param("record") BankerOrder record, @Param("example") BankerOrderExample example);

    int updateByPrimaryKeySelective(BankerOrder record);

    int updateByPrimaryKeyWithBLOBs(BankerOrder record);

    int updateByPrimaryKey(BankerOrder record);

    BankerOrder selectBankerOrderByOrderNo(String orderNo);

    boolean updateDeliveryAddressByChildOrderNo(BankerOrder bankerOrder);

    boolean SynchronizeExpress(BankerOrder bankerOrder);

    boolean SynchronizeUserMessage(BankerOrder bankerOrder);
}